package com.groupbuying.orderconsumer.connector;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import java.util.Map;
import java.util.Set;

/* 微信中心feign */
@Service
@FeignClient("bus-store")
public interface WechatFeign {
    @GetMapping("/counter/getStoreShopByCounterId")
    Map<String,String> getStoreShopByCounterId(@RequestParam Map<String, Object> params);

    @GetMapping("/storeAccountWxinfoRel/getOpenIds")
    Map<String, Set<String>> getOpenIds(@RequestParam("counterId") String counterId);

}